Rail company Deutsche Bahn had to pause train services across the country for more than two-and-a-half hours.